00001 00013 class CommandCamera 00014 { 00015 protected: 00016 RightView *rightview_; 00017 OSGWindows *osgwind_; 00018 00019 public: 00023 static float m_dCoordx; 00024 00028 static float m_dCoordy; 00029 00033 static float m_dCoordz; 00034 00038 static float m_dHeading; 00039 00043 static float m_dPitchValue; 00044 00048 static float m_dRotation; 00049 00053 static Views viewKind; 00054 00055 public: 00064 CommandCamera(RightView *rightview, OSGWindows * osgwind); 00069 ~CommandCamera(); 00070 00077 void ManipulateCamera(); 00078 00085 void YawLeft(); 00086 00092 void YawRight(); 00093 00099 void PitchUp(); 00100 00106 void PitchDown(); 00107 00113 void ZoomIn(); 00114 00120 void ZoomOut(); 00121 00127 void TopView(); 00128 00134 void ThreedView(); 00135 00141 void SideView(); 00142 00148 void MoveLeft(); 00149 00155 void MoveRight(); 00156 00163 void MoveUp(); 00164 00171 void MoveDown(); 00172 };
1.4.6-NO